package com.cloudptt.wp.utils;

import android.content.Context;
import android.graphics.Typeface;

public class FontUtils {
	
	public static String fontPath = "fonts/NotoSansSChinese-windows/NotoSansHans-Regular.otf";
	private Context mContext;
	
	public void setContext(Context ctx){
		mContext = ctx;
	}
	
	public static Typeface getTypeface(Context ctx){
		return Typeface.createFromAsset(ctx.getAssets(), fontPath);
	}

}
